package org.flexthinker.module
{
    import mx.core.UIComponent;
    import mx.modules.IModuleInfo;

    public interface DescriptorLoader extends IModuleInfo
    {
        /**
         * To be called after the descriptor has been loaded, meaning that is ready,
         * in order to be added into the UI
         */
        function init( targetObject:UIComponent):void;

        /**
         * The descriptor to be loaded
         */
        function get descriptor():Descriptor;
    }
}